package com.rs.admin.sys.org.mapper;

import com.rs.admin.sys.org.entity.User;
import com.rs.admin.sys.org.vo.UserVo;
import com.rs.common.entity.PageParams;
import com.rs.common.mapper.SuperMapper;
import java.util.List;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author hedonglin
 * @since 2017-12-20
 */
public interface UserMapper extends SuperMapper<User> {
    //查询用户权限
    List<String> queryAllPerms(long userId);

    //查询用户列表
    List<UserVo> findByCondition(PageParams params);
}
